package com.jlsoft.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenxidong
 * @since 2018-04-28
 */
@TableName("sys_data")
public class SysData extends Model<SysData> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;
    /**
     * 设备号
     */
    private String sid;
    /**
     * 定位状态(0-1-2)(无效,有效,经纬度未被解析)
     */
    @TableField("location_State")
    private String locationState;
    /**
     * GPS定位时间
     */
    @TableField("location_Time")
    private Date locationTime;
    /**
     * 经度
     */
    private String lng;
    /**
     * 纬度
     */
    private String lat;
    /**
     * 海拔高度
     */
    private String altitude;
    /**
     * 时速（千米/小时）
     */
    private String speed;
    /**
     * 航向
     */
    private String direction;
    /**
     * 车辆状态（停-动）（0-1）
     */
    @TableField("car_state")
    private String carState;
    /**
     * 主备电（0-1）（主-备）
     */
    @TableField("main_Electricity")
    private String mainElectricity;
    /**
     * 电量（0-100）
     */
    private String electricity;
    /**
     * 设备状态（0-1）（使用-休眠）
     */
    @TableField("equipment_State")
    private String equipmentState;
    /**
     * 接收存入时间
     */
    @TableField("take_time")
    private Date takeTime;
    /**
     * 是否超速（0-1）正常 超速
     */
    private Integer speeding;
    /**
     * 是否出栏（0-1）正常 出栏
     */
    private String Circumference;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getLocationState() {
        return locationState;
    }

    public void setLocationState(String locationState) {
        this.locationState = locationState;
    }

    public Date getLocationTime() {
        return locationTime;
    }

    public void setLocationTime(Date locationTime) {
        this.locationTime = locationTime;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getAltitude() {
        return altitude;
    }

    public void setAltitude(String altitude) {
        this.altitude = altitude;
    }

    public String getSpeed() {
        return speed;
    }

    public void setSpeed(String speed) {
        this.speed = speed;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public String getCarState() {
        return carState;
    }

    public void setCarState(String carState) {
        this.carState = carState;
    }

    public String getMainElectricity() {
        return mainElectricity;
    }

    public void setMainElectricity(String mainElectricity) {
        this.mainElectricity = mainElectricity;
    }

    public String getElectricity() {
        return electricity;
    }

    public void setElectricity(String electricity) {
        this.electricity = electricity;
    }

    public String getEquipmentState() {
        return equipmentState;
    }

    public void setEquipmentState(String equipmentState) {
        this.equipmentState = equipmentState;
    }

    public Date getTakeTime() {
        return takeTime;
    }

    public void setTakeTime(Date takeTime) {
        this.takeTime = takeTime;
    }

    public Integer getSpeeding() {
        return speeding;
    }

    public void setSpeeding(Integer speeding) {
        this.speeding = speeding;
    }

    public String getCircumference() {
        return Circumference;
    }

    public void setCircumference(String Circumference) {
        this.Circumference = Circumference;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "SysData{" +
        ", id=" + id +
        ", sid=" + sid +
        ", locationState=" + locationState +
        ", locationTime=" + locationTime +
        ", lng=" + lng +
        ", lat=" + lat +
        ", altitude=" + altitude +
        ", speed=" + speed +
        ", direction=" + direction +
        ", carState=" + carState +
        ", mainElectricity=" + mainElectricity +
        ", electricity=" + electricity +
        ", equipmentState=" + equipmentState +
        ", takeTime=" + takeTime +
        ", speeding=" + speeding +
        ", Circumference=" + Circumference +
        "}";
    }
}
